LocalVideoStreamError enum Null safety

本地视频状态改变时的错误码

Constants

captureFailure → const LocalVideoStreamError

本地视频采集失败,建议检查采集设备是否正常工作

const LocalVideoStreamError(5)
deviceBusy → const LocalVideoStreamError

本地视频采集设备已被占用

const LocalVideoStreamError(3)
deviceDisconnected → const LocalVideoStreamError

通话过程中本地视频采集设备被其他程序抢占,导致设备连接中断

const LocalVideoStreamError(7)
deviceNoPermission → const LocalVideoStreamError

没有权限启动本地视频采集设备

const LocalVideoStreamError(2)
deviceNotFound → const LocalVideoStreamError

本地视频采集设备不存在或已移除

const LocalVideoStreamError(4)
encodeFailure → const LocalVideoStreamError

本地视频编码失败

const LocalVideoStreamError(6)
failure → const LocalVideoStreamError

本地视频流发布失败

const LocalVideoStreamError(1)
ok → const LocalVideoStreamError

状态正常(本地视频状态改变正常时默认返回值)

const LocalVideoStreamError(0)
values → const List<LocalVideoStreamError>

A constant List of the values in this enum, in order of their declaration.

const List<LocalVideoStreamError>

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited